﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MongoDB.Bson;
using NetCoreQrCoreDemo.Attribute;

namespace NetCoreQrCoreDemo.Models
{
    [Serializable]
    [Mongo("UploadImageFile")]
    public class UploadImageFile
    {
        public ObjectId _id { get; set; }
        /// <summary>
        /// 图片名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 图片大小
        /// </summary>
        public int size { get; set; }
        /// <summary>
        /// 图片路径
        /// </summary>
        public string url { get; set; }
        /// <summary>
        /// 上传时间
        /// </summary>
        public string date { get; set; }

    }
}
